package com.victualler.core.config.permission.repository;

import com.victualler.core.base.repository.BaseRepository;
import com.victualler.core.config.permission.entity.RolePermissionInfoDao;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: Guoshichang
 * @discription: 
 */
@Repository
public interface RolePermissionInfoRepository extends BaseRepository<RolePermissionInfoDao,Long> {
    /**
     * @author Guoshichang
     * @since 21:50 on 2018/9/9.
     * @param roleId
     * @Function  删除角色所有权限
     */
    public List<RolePermissionInfoDao> findByRoleId(Long roleId);
}
